home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
012
/
newkey24.arc
/
DEMO.KEY
< prev
next >
Wrap
Text File
|
1985-06-26
|
29KB
|
425 lines
<begdef><altF1>cls<enter>
A GUIDED TOUR OF NEWKEY <ESC>
<ESC>
(C)Copyright Frank Bell, 1984 <ESC>
All rights reserved. <ESC>
<ESC>
Newkey is a product of <ESC>
<ESC>
FAB Software <ESC>
P.O. Box 336 <ESC>
Wayland, MA 01778 <ESC>
<ESC>
If you have not already, please print the enclosed documentation <ESC>
by issuing the command 'printdoc'. This will print the documentation <ESC>
on your printer. <ESC>
<ESC>
This tour is intended to serve as a general introduction to <ESC>
Newkey. In not intended to replace or supplement the printed user's <ESC>
manual (50+ pages, comes with registration). <ESC>
<ESC>
This tour may be exited at any time by pressing CTRL F3. <ESC>
<ESC>
Press ALT H for help. <ESC>
<ESC>
Press ALT F2 to continue. <ESC>
<enddef>
*
<begdef><altf2>cls<enter>
SCREEN SAVER WARNING <ESC>
<ESC>
Before you get started, just one note of warning. Newkey contains <ESC>
a screen saver feature that turns off your display after 2 minutes of <ESC>
inactivity. This is designed to prevent the phosphors from permanently <ESC>
etching an unattended display. <ESC>
<ESC>
If the screen should suddenly go blank, don't worry. Just press <ESC>
any key and the screen will be turned back on. <ESC>
<ESC>
This is just one of the many useful features Newkey offers, and <ESC>
like most of Newkey's other features can be customized to meet your <ESC>
wishes. <ESC>
<ESC>
<ESC>
Press F1 to begin your tour. <ESC>
<enddef>
*
<begdef><F1>cls<enter>
WELCOME TO NEWKEY <ESC>
<ESC>
A POWERFUL MACRO PROCESSOR FOR THE IBM PC <ESC>
<ESC>
<ESC>
This starts a guided tour which will introduce you to many <ESC>
of Newkey's powerful features. We will show you how to take control <ESC>
of your keyboard and make your software easier to use. <ESC>
<ESC>
This tour uses Newkey macros extensively. In fact every thing you <ESC>
are reading has been generated from macros. This tour does not use a <ESC>
program. You will be operating under DOS the whole time. <ESC>
<ESC>
<ESC>
What is a Macro? <ESC>
<ESC>
A macro is any sequence of keystrokes which are assigned to a <ESC>
particular key. These allow customization of software packages, <ESC>
keyboard redefinition, creation of boiler plate passages, and other <ESC>
useful purposes. Macros will also be called key definitions or <ESC>
translations in this demonstration. <ESC>
<ESC>
Lets start by defining a macro. Press F2 to continue. <ESC>
<enddef>
*
<begdef><F2>cls<enter>
DEFINING A MACRO <ESC>
<ESC>
<ESC>
To define a macro follow these steps: <ESC>
<ESC>
1. Press the ALT = key. This will cause the cursor to take on a <ESC>
block shape. <ESC>
<ESC>
2. Press the key you wish to define. <ESC>
<ESC>
3. Now enter the keystrokes you want the key to represent. <ESC>
<ESC>
4. Press ALT = to end the definition. <ESC>
<ESC>
A macro may be defined at anytime, whether in a program or DOS. <ESC>
Newkey will save your keystrokes and then pass them on. Your program <ESC>
will not even know that Newkey exists! <ESC>
<ESC>
Now lets define a macro consisting of your first name and place <ESC>
it in ALT N. Follow the above steps. <ESC>
<ESC>
<ESC>
Are you finished? Press F3 to continue, ALT H for help. <ESC>
<enddef>
*
<begdef><F3><ESC>cls<enter>
NESTED KEY DEFINITIONS <ESC>
<ESC>
Hi <altn> ! <ESC>
<ESC>
How did I know your name? This is an example of nested key <ESC>
definition. Now that you have placed your name in ALT N, whenever <ESC>
Newkey finds ALT N in a macro it will return your name instead of ALT N.<ESC>
<ESC>
Nested key definition means that Newkey will check each key in a <ESC>
to see if it has its own macro assigned to it. Newkey will check to <ESC>
a depth of 8 levels. <ESC>
<ESC>
Nested key definitions are very useful in many instances. For <ESC>
example, you can develop a set of macros designed to operate on a file <ESC>
designated by the ALT F key. <ESC>
<ESC>
Then, when you start a session on your PC, you can define ALT F <ESC>
equal to the file name you are working on and with 1 keystroke invoke <ESC>
your editor, bring up the file in edit mode and reset default editor <ESC>
modes. 1 keystroke might also print the file, copy it from 1 disk to <ESC>
another, or save it from ram disk to floppy and return to your current <ESC>
position without leaving your editor. <ESC>
<ESC>
Press F4 to continue, ALT H for help. <ESC>
<enddef>
*
<begdef><F4>cls<enter>
VARIABLE LENGTH FILL-IN-THE-BLANKS <ESC>
Demonstration for <altn> <ESC>
<ESC>
Newkey provides you with the ability to define variable length <ESC>
fill-in-the-blanks fields within key translations. When one of these <ESC>
is encountered in a key translation, Newkey will stop translation and <ESC>
wait for you to enter any keystrokes you wish. Newkey will continue <ESC>
to accept keystrokes until the enter key is pressed when normal <ESC>
translation will continue. To define a variable length <ESC>
fill-in-the-blanks field follow these steps: <ESC>
<ESC>
1. Press ALT -. The cursor will change from a full block to half <ESC>
block with its bottom missing. <ESC>
<ESC>
2. Enter whatever keystrokes you wish. <ESC>
<ESC>
3. Press ALT -. The cursor will change back to a full block. <ESC>
<ESC>
This is very useful in situations where you need to enclose a <ESC>
field which varies in length with repetitive text. <ESC>
<ESC>
Press ALT 1 for a demonstration of a variable length field. <ESC>
Press F5 to continue, ALT H for help. <ESC>
<enddef>
*
<begdef><F5><esc>cls<enter>
FIXED LENGTH FILL-IN-THE-BLANKS <ESC>
Demonstration for <altn> <ESC>
<ESC>
Newkey provides you with the ability to define fixed length <ESC>
fill-in-the-blanks fields within key translations. When one of these <ESC>
is encountered in a key translation, Newkey will stop translation and <ESC>
wait for you to enter a predefined number of keystrokes. Newkey <ESC>
will accept keystrokes until the predefined number is reached when <ESC>
normal translation will continue. To define a fixed length <ESC>
fill-in-the-blanks field follow these steps: <ESC>
<ESC>
1. Press ctrl -. The cursor will change from a full block to half <ESC>
block with its top missing. <ESC>
<ESC>
2. Enter whatever keystrokes you wish. <ESC>
<ESC>
3. Press ctrl -. The cursor will change back to a full block. <ESC>
<ESC>
Press ALT 2 for a demonstration of a fixed length field. <ESC>
Press F6 to continue, ALT H for help. <ESC>
<enddef>
*
<begdef><F6><esc>cls<enter>
SWITCHING NEWKEY OFF/ON - CTRL 6 <ESC>
Demonstration for <altn> <ESC>
<ESC>
<ESC>
<ESC>
Newkey may be deactivated/activated by pressing ctrl 6. This acts <ESC>
as toggle switching Newkey from one status to another. When <ESC>
deactivated Newkey is still resident in memory but it will act as if <ESC>
the normal keyboard interrupt is in control. <ESC>
<ESC>
Press CTRL 6 followed by F6. Nothing happens. <ESC>
<ESC>
Now press CTRL 6 followed by F6 and watch this screen be <ESC>
redisplayed. <ESC>
<ESC>
Press F7 to continue, ALT H for help. <ESC>
<ESC>
<enddef>
*
<begdef><F7><esc>cls<enter>
TRANSLATION BYPASS - CTRL 2 <ESC>
Demonstration for <altn> <ESC>
<ESC>
<ESC>
<ESC>
Key translation may be bypassed by pressing CTRL 2 followed by the <ESC>
key desired. This has the same effect as switching Newkey off, except <ESC>
that it lasts for only one keystroke. <ESC>
<ESC>
<ESC>
Press ALT 3 for a demonstration of translation bypass. <ESC>
<ESC>
Press F8 to continue, ALT H for help. <ESC>
<ESC>
<enddef>
*
<begdef><F8><esc>cls<enter>
DYNAMIC DISPLAY/UPDATE FEATURES <ESC>
Demonstration for <altn> <ESC>
<ESC>
The dynamic display/update features are a subset of Newkeysp <ESC>
functions which may be invoked at any time by pressing Ctrl \ <ESC>
(backslash) without leaving your current program. Newkey will save <ESC>
your current screen, present you with a menu of options and, when you <ESC>
are done, restore your screen just where you left off. <ESC>
<ESC>
Functions available are: <ESC>
<ESC>
- Display directory <ESC>
- Display translation of key <ESC>
- Display/update control keys <ESC>
- Clear current key definitions <ESC>
<ESC>
These functions are are very useful for looking up key definitions <ESC>
and control keys without interrupting your current program. They are <ESC>
not available in the Newkeysm.exe program saving 11K in memory. <ESC>
<ESC>
Press CTRL \ and play around, but be careful not to clear memory. <ESC>
<ESC>
Press F9 to continue, ALT H for help. <ESC>
<enddef>
*
<begdef><F9><esc>cls<enter>
OTHER NEWKEY FEATURES <ESC>
Demonstration for <altn> <ESC>
<ESC>
<ESC>
In addition to the features already demonstrated Newkey provides <ESC>
several other features including: <ESC>
<ESC>
- Time delays during playback <ESC>
- Extension of keys supported beyond the normal IBM set <ESC>
- Support of different key definitions for synonym keys <ESC>
- Error correction during key definition <ESC>
- Recursion detection during key definition and playback <ESC>
- Ability to change the dynamic define area size at Newkey loading <ESC>
- Macro may call itself <ESC>
- Slow typing mode <ESC>
- Cancel Newkey processing during playback or definition <ESC>
<ESC>
For a demonstration of Newkeysp, the NEWKEY Support Program, <ESC>
Press CTRL F1. Press ALT H for help <ESC>
<enddef>
*
<begdef><ctrlF1><esc>cls<enter>
NEWKEYSP, THE NEWKEY SUPPORT PROGRAM <ESC>
Demonstration for <altn> <ESC>
<ESC>
<ESC>
Newkeysp provides many features to complement Newkey, including: <ESC>
<ESC>
- Display key directory <ESC>
- Display key translations <ESC>
- Save key definition file from memory to disk <ESC>
- Load key definition file to memory from disk <ESC>
- Merge key definition file into memory from disk <ESC>
- Clear current key definitions from memory <ESC>
- Toggle Newkey on/off <ESC>
- Display/update Newkey control keys <ESC>
- Display/update Newkey parameters <ESC>
- Unload and reclaim memory (DOS 1.1 only) <ESC>
- Execute macros from batch files <ESC>
- Turn slow typing mode on/off <ESC>
<ESC>
<ESC>
Press CTRL F2 to continue, ALT H for help. <ESC>
<ESC>
<enddef>
*
<begdef><ctrlF2><esc>cls<enter>
INVOKING NEWKEYSP <ESC>
Demonstration for <altn> <ESC>
<ESC>
Newkeysp's functions may be invoked in one of two ways: <ESC>
<ESC>
1. Type Newkeysp, press enter and a menu of options will be <ESC>
displayed. <ESC>
<ESC>
2. Type Newkeysp plus a parameter and Newkeysp will perform the <ESC>
requested function and return to DOS. This option is particularly <ESC>
useful in a batch file invoked at system initialization. <ESC>
<ESC>
The best way to familiarize yourself with Newkeysp's functions is <ESC>
to call it up and try out the various menu options. <ESC>
<ESC>
<ESC>
Press CTRL F3 to continue, ALT H for help. <ESC>
<enddef>
*
<begdef><ctrlF3><esc>cls<enter>
END OF TOUR <ESC>
<ESC>
Well <altn>, this ends the Newkey tour. We hope that you <ESC>
find Newkey a powerful new tool which will enhance your productivity <ESC>
and make life with your PC a lot easier. <ESC>
<ESC>
If you do find Newkey a useful addition to your software tools, <ESC>
we encourage you to place your order as soon as possible. As a <ESC>
registered user you will receive <ESC>
<ESC>
- a copy of the latest version of Newkey <ESC>
- a printed manual (50+ pages, tips on use, index) <ESC>
- notification of new versions <ESC>
<ESC>
To order send a check for $19.95 along with your name and address to <ESC>
<ESC>
FAB Software <ESC>
P.O. Box 336 <ESC>
Wayland, MA 01778 <ESC>
<ESC>
If not completely satisfied, return Newkey within 30 days for <ESC>
a full refund. You may use the convenient order form enclosed in the <ESC>
documentation you printed off before beginning this tour. <ESC>
<ESC>
Press CTRL F4 to exit tour, ALT H for help <ESC>
<enddef>
<begdef><ctrlF4><esc>cls<enter>
EXIT TOUR <ESC>
Demonstration for <altn> <ESC>
<ESC>
Since this tour does not run under a program, the simplest way to <ESC>
exit is to just continue on your way and do what you want. Since <ESC>
several function keys and others have been redefined, you will probably <ESC>
want to return to their native meanings. This may be done in two ways: <ESC>
<ESC>
- Press CTRL 6. This will deactivate Newkey completely. <ESC>
<ESC>
- Press ALT C. This will invoke Newkeysp to clear the current key <ESC>
definitions from memory leaving Newkey active, but with all key <ESC>
definitions completely purged. <ESC>
<ESC>
To reclaim the memory Newkey has reserved you can re-boot by <ESC>
pressing ALT-CTRL-DEL simultaneously. <ESC>
<ESC>
To retake portions of the tour just press the appropriate <ESC>
function key. Press ALT D for a tour directory. <ESC>
<ESC>
Press ALT H for help. <ESC>
<enddef>
*
<begdef><alth><esc>cls<enter>
HELP <ESC>
<ESC>
You are currently taking a guided tour of Newkey. This tour does <ESC>
not know where you just came from so you will have to choose from one <ESC>
of the options below to continue. <ESC>
<ESC>
<ESC>
EXIT TOUR - Press CTRL F3. <ESC>
<ESC>
LOST - If you get lost the tour may be restarted at any point by <ESC>
pressing the appropriate function key. Press ALT D for a directory <ESC>
listing of function keys. <ESC>
<ESC>
ORDERING INFORMATION - Press CTRL F3. <ESC>
<ESC>
TOUR GUIDE - Press ALT D for a tour directory. <ESC>
<ESC>
<enddef>
<begdef><altd><esc>cls<enter>
TOUR DIRECTORY <ESC>
<ESC>
ALT F1 - Begin tour <ESC>
<ESC>
F1 - Introduction <ESC>
F2 - Defining a key definition (macro) <ESC>
F3 - Nested key definitions <ESC>
F4 - Variable length fill-in-the-blanks fields <ESC>
F5 - Fixed length fill-in-the-blanks fields <ESC>
F6 - Switching Newkey on/off <ESC>
F7 - Translation bypass (escape) <ESC>
F8 - Dynamic display/update features <ESC>
F9 - Other features <ESC>
<ESC>
CTRL F1 - Introduction to Newkeysp, the Newkey support program <ESC>
CTRL F2 - Invoking Newkeysp <ESC>
CTRL F3 - Registration information <ESC>
CTRL F4 - Exit tour <ESC>
<ESC>
ALT C - Clear this demonstration from Newkey's memory <ESC>
ALT D - This screen <ESC>
ALT H - Help <ESC>
<ESC>
Press any of the above keys to continue tour. <ESC>
<enddef>
*
<begdef><altc>NEWKEYSP /C<enter><enddef>
*
<begdef>&HELLO <altn><enddef>
*
<begdef><alt1>Enter any number of keystrokes followed by enter:
<vfld>...<vfld> <esc>and Newkey will finish for you.<enddef>
*
<begdef><alt2>Enter 2 keystrokes: <ffld>..<ffld> and Newkey will fini
sh for you.<enddef>
*
<begdef><alt3>Enter '<notr>&' followed by enter: <vfld>...<vfld> Yo
u will notice<esc>
that '<notr>&' has been redefined to 'HELLO'.<esc>
Now enter ctrl-2 and '<notr>&' followed by enter:
<vfld>...<vfld><esc>
You will notice that '<notr>&' was returned, not 'HELLO'.<esc>
This is an example of Newkey's no translation feature.<esc>
<ESC>
Press F8 to continue. <ESC>
<enddef>
*